@charset "utf-8";

/*!
 * Created by Toma on 2016-6-24 14:29:06
 * 传世至宝
 */


/* 首页 */
.search-content{
  display: table;
  width: 100%;
  background-color: #ebebeb;
  height: 530px;
  text-align: center;

  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
.content-title{
  font-size: 40px;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
  margin-top: 0;
}
.com-header{
  display: table-cell;
  vertical-align: middle;
}

/* 搜索框 */
.search-box{
  position: relative;
  width: 450px;
  height: 46px;
  margin: 0 auto;
  margin-bottom: 25px;
  input{
    width: 100%;
    height: 100%;
    padding:0 15px;
    outline: none !important;
    border-radius: 5px;
    background-color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 0 0 rgba(0,0,0,0);

    -webkit-transition: all .3s ease-in-out;
            transition: all .3s ease-in-out;
    &:focus{
      //border: 2px solid #f76579;
      background-color: #fff;
      box-shadow: 0 8px 16px rgba(0,0,0,0.06);
    }
  }
}
.btn-box{
  margin-bottom: 25px;
}
.btn-bao{
  background-color: #f75549;
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0.5,#fc6156),to(#f75549));
  color: #fff !important;
  min-width: 150px;
  outline: none !important;
}

/* 搜索结果 */
.min-header{
  height: 330px;
}
.info{
  h2{
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  .info-log {
    margin-bottom: 15px;
    p{
      font-size: 16px;
      line-height: 1.4;
      margin: 0;
    }
  }
}

/* 数据轴 */
.line-box{
  margin-bottom: 15px;
}
.l-p{
  margin-bottom: 32px;
  font-size: 16px;
}
.line{
  position: relative;
  width: 100%;
  height: 20px;
  border-radius: 20px;
  background-color: #ebebeb;
  border: 2px solid #ebebeb;
  .line-l{
    width: 1%;
    height: 100%;
    border-radius: 60px;
    background-color: #f75549;
    background: url(../img/green.png) repeat-x center/ auto 100%;

    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;

    &.red{
      background: url(../img/red.png) repeat-x center/ auto 100%;
    }
  }
  .pop{
    display: block;
    position: absolute;
    bottom: 100%;
    left: 1%;
    width: 44px;
    height: 26px;
    background-color: #f75549;
    border-radius: 4px;
    text-align: center;
    line-height: 27px;
    color: #fff;
    font-size: 14px;
    margin-left: -18px;
    margin-bottom: 6px;

    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    &::after{
      content: '';
      display: block;
      position: absolute;
      left: 50%;
      top: 100%;
      margin-left: -6px;
      border-top: 6px solid #f75549;
      border-left: 6px solid transparent;
      border-right: 6px solid transparent;
      border-bottom: 6px solid transparent;
    }
  }
}
.remind{
  text-align: center;
  font-size: 13px;
  padding: 15px 0;
}
/* 二维码 */
.ewm{
  text-align: center;
  margin-top: -40px;
  margin-bottom: 40px;
}

/* 弹框 */
.pop-s{
  display: none;
}
.pop-swp{
  position: fixed;
  display: table;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  .pop-mask{
    @extend .pop-swp;
    background-color: rgba(0, 0, 0, .6);
  }
  .pop-content{
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 100%;
  }
  .swp-box{
    position: relative;
    display: inline-block;
    width: 300px;
    background: #fff;
    height: 480px;
    border-radius: 5px;
    z-index: 110;
    overflow: hidden;
  }
}

.swiper-container {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;

  img{
    height: 92%;
  }
}
.close{
  position: absolute;
  top: 0;
  right: 0;
  padding-right: 15px;
  padding-top: 15px;
  z-index: 120;
}

/* datalist */
.datalist{
  display: none;
  position: absolute;
  z-index: 80;
  top: 95%;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #fff;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  max-height: 205px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  li{
    display: table;
    list-style: none;
    width: 100%;
    padding: 10px;
    border-top: 1px solid #f1f1f1;
    cursor: pointer;
    &:hover{
      background-color: #f6ffe1;
    }
  }
  .data-r,.data-l{
    display: table-cell;
    text-align: left;
  }
  .data-l{
    width: 50%;
  }
}

footer{
  font-size: 12px;
  line-height: 1.8;
  color: #bbb;
  margin-top: 10px;
  text-align: center;
}



@media (max-width: 768px){
  .search-box {
    width: 100%;
  }
  .min-header{
    height: 200px;
    .content-title{
      font-size: 25px;
      margin-bottom: 20px;
      margin-top: 10px;
    }
    .search-box{
      margin-bottom: 20px;
    }
    .btn-box{
      margin-bottom:0;
      button{
        width: 100%;
      }
    }
  }
  .info{
    h2{
      font-size: 26px;
      margin-bottom: 15px;
      display: inline-block;
    }
    .info-log{
      margin-bottom: 15px;
      display: inline-block;
      vertical-align: middle;
    }
  }
  .ewm{
    margin-top: 0;
    img{
      width: 180px;
      margin-top: 10px;
    }
  }
  .ti-tab{
    h3{
      font-size: 20px;
      margin-top: 6px;
      margin-bottom: 10px;
    }
    dd{
      font-size: 12px;
    }
  }
  .remind{
    font-size: 12px;
  }
}